package com.business.system.official.toursism.websitenews.manager;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.business.system.official.toursism.websitenews.entity.WebsiteNews;
import com.business.system.official.toursism.websitenews.vo.WebsiteNewsBriefListVO;
import com.business.system.official.toursism.websitenews.vo.WebsiteNewsBriefVO;
import com.business.system.official.toursism.websitenews.vo.WebsiteNewsDetailListVO;
import com.business.system.official.toursism.websitenews.vo.WebsiteNewsDetailVO;
import com.business.system.official.toursism.websitenews.vo.data.WebsiteNewsBriefData;
import com.business.system.official.toursism.websitenews.vo.data.WebsiteNewsDetailData;
import com.seed.core.exception.ManagerException;
import com.seed.core.pojo.manager.SeedSystemManager;

import java.util.List;

/**
 * @description 乌镇新闻
 * @author CodeGenerator
 * @date   2025-01-25
 * @version V1.0
 */
public interface WebsiteNewsManager extends SeedSystemManager<WebsiteNews> {

    /**
     * 根据id获取详情VO data
     *
     * @param websiteNewsId 对象id
     * @return 详情VO data对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsDetailData convertDetailData(String websiteNewsId) throws ManagerException;

    /**
     * 转换为VO对象
     *
     * @param websiteNews model
     * @return VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsDetailData convertDetailData(WebsiteNews websiteNews) throws ManagerException;

    /**
     * 根据id获取详情VO
     *
     * @param websiteNewsId 对象id
     * @return 详情VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsDetailVO getDetailVO(String websiteNewsId) throws ManagerException;

    /**
     * 根据对象获取详情VO
     *
     * @param websiteNews 对象
     * @return 详情VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsDetailVO getDetailVO(WebsiteNews websiteNews) throws ManagerException;

    /**
     * 根据对象ids获取详情VO data list
     *
     * @param ids 对象ids
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsDetailData> getConvertDetailListVOByIds(List<String> ids) throws ManagerException;

    /**
     * 根据查询条件获取详情VO data list
     *
     * @param queryWrapper 查询条件
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsDetailData> listConvertDetailData(Wrapper<WebsiteNews> queryWrapper) throws ManagerException;

    /**
     * 转换为VO对象
     *
     * @param websiteNewsList model列表
     * @return VO对象列表
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsDetailData> listConvertDetailData(List<WebsiteNews> websiteNewsList) throws ManagerException;

    /**
     * 根据对象ids获取详情VO data list
     *
     * @param ids 对象ids
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsDetailListVO getDetailListVOByIds(List<String> ids) throws ManagerException;

    /**
     * 根据查询条件获取详情VO data list
     *
     * @param queryWrapper 查询条件
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsDetailListVO getDetailListVO(Wrapper<WebsiteNews> queryWrapper) throws ManagerException;

    /**
     * 根据对象list获取详情VO data list
     *
     * @param websiteNewsList 对象list
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsDetailListVO getDetailListVO(List<WebsiteNews> websiteNewsList) throws ManagerException;

    /**
     * 根据id获取简略VO data
     *
     * @param websiteNewsId 对象id
     * @return 简略VO data对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsBriefData convertBriefData(String websiteNewsId) throws ManagerException;

    /**
     * 转换为VO对象
     *
     * @param websiteNews model
     * @return VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsBriefData convertBriefData(WebsiteNews websiteNews) throws ManagerException;

    /**
     * 根据id获取简略VO
     *
     * @param websiteNewsId 对象id
     * @return 简略VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsBriefVO getBriefVO(String websiteNewsId) throws ManagerException;

    /**
     * 根据对象获取简略VO
     *
     * @param websiteNews 对象
     * @return 简略VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsBriefVO getBriefVO(WebsiteNews websiteNews) throws ManagerException;

    /**
     * 根据对象ids获取简略VO data list
     *
     * @param ids 对象ids
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsBriefData> listConvertBriefDataByIds(List<String> ids) throws ManagerException;

    /**
     * 根据查询条件获取简略VO data list
     *
     * @param queryWrapper 查询条件
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsBriefData> listConvertBriefData(Wrapper<WebsiteNews> queryWrapper) throws ManagerException;

    /**
     * 根据对象list获取简略VO data list
     *
     * @param websiteNewsList 对象list
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsBriefData> listConvertBriefData(List<WebsiteNews> websiteNewsList) throws ManagerException;

    /**
     * 根据对象ids获取简略VO data list
     *
     * @param ids 对象ids
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsBriefListVO getBriefListVOByIds(List<String> ids) throws ManagerException;

    /**
     * 根据查询条件获取简略VO data list
     *
     * @param queryWrapper 查询条件
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsBriefListVO getBriefListVO(Wrapper<WebsiteNews> queryWrapper) throws ManagerException;

    /**
     * 根据对象list获取简略VO data list
     *
     * @param websiteNewsList 对象list
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsBriefListVO getBriefListVO(List<WebsiteNews> websiteNewsList) throws ManagerException;

}
